package com.erp.framework.util.mainmenu;

import java.util.ArrayList;

public class MenuObject implements java.io.Serializable

{
    private String objectId;

    private String menuId;

    private String name;
    private String groupId;

    private String objectType;

    private String visibleLevel;
    private String enableLevel;
    private String visibleDisplay;
    private String enableDisplay;
    private String objectAction;

    private MenuObjectDelegate menuObjectDg = new MenuObjectDelegate();

    public MenuObject()

    {

    }

    public MenuObject(String objectId, String menuId, String name, String groupId, String objectType, String visibleLevel,
            String enableLevel, String visibleDisplay, String enableDisplay, String objectAction)

    {

        this.objectId = objectId;

        this.menuId = menuId;

        this.name = name;

        this.groupId = groupId;

        this.objectType = objectType;
        this.visibleLevel = visibleLevel;
        this.enableLevel = enableLevel;
        this.visibleDisplay = visibleDisplay;
        this.enableDisplay = enableDisplay;
        this.objectAction = objectAction;
    }

    public String getObjectId() {
        return objectId;
    }

    public String getMenuId() {
        return menuId;
    }

    public String getName() {
        return name;
    }

    public String getGroupId() {
        return groupId;
    }

    public String getObjectType() {
        return objectType;
    }

    public String getVisibleLevel() {
        return visibleLevel;
    }

    public String getEnableLevel() {
        return enableLevel;
    }

    public String getVisibleDisplay() {
        return visibleDisplay;
    }

    public String getEnableDisplay() {
        return enableDisplay;
    }

    public String getObjectAction() {
        return objectAction;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public void setObjectType(String objectType) {
        this.objectType = objectType;
    }

    public void setVisibleLevel(String visibleLevel) {
        this.visibleLevel = visibleLevel;
    }

    public void setEnableLevel(String enableLevel) {
        this.enableLevel = enableLevel;
    }

    public void setVisibleDisplay(String visibleDisplay) {
        this.visibleDisplay = visibleDisplay;
    }

    public void setEnableDisplay(String enableDisplay) {
        this.enableDisplay = enableDisplay;
    }

    public void setObjectAction(String objectAction) {
        this.objectAction = objectAction;
    }

    public ArrayList getMenuObjectList(String companyCode, String userId, String moduleName) {
        return menuObjectDg.getMenuObjectList(companyCode, userId, moduleName);
    }

}